home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_097 / splines / bezier.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  483b  |  21 lines

  1. /* The routines in this file are copyright (c) 1987 by Helene (Lee) Taran.
  2.  * Permission is granted for use and free distribution as long as the
  3.  * original author's name is included with the code.
  4.  */
  5.  
  6. #ifndef BEZIER_H
  7. #define BEZIER_H
  8.  
  9. #include <stdio.h>
  10. #include <intuition/intuition.h>
  11.  
  12. #define CLOSENESS 8 /* how close two points should be before a line is drawn */
  13.  
  14. typedef struct real_point {
  15.    float x;
  16.    float y;
  17. } REAL_POINT;
  18.  
  19. #define ABS(x) ((x < 0.0) ? -x : x )
  20. #endif
  21.